package com.hhxy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ghp
 * @date 2023/5/5
 * @title
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "友链修改信息数据传输对象")
public class ChangeLinkStatusDto {
    @ApiModelProperty(value = "友链id", required = true)
    @NotNull(message = "友链id不能为空")
    private Long id;
    @ApiModelProperty(value = "友链状态", required = true)
    @NotBlank
    private String status;
}
